package com.cdl.interfaces;

import com.cdl.Demo;

/**
 * @author cdl
 * @date 2025/10/5
 */
public class Demo1 implements MyInterface2 {


    @Override
    public void method() {
        System.out.println("this is the method");
    }

    @Override
    public void method2() {
        System.out.println("this is the method2");
    }

    @Override
    public void method3() {
        System.out.println("this is the method3");
    }

    @Override
    public void method4() {
        System.out.println("this is the method4");

    }

    @Override
    public void method6() {
        MyInterface2.super.method6();
        System.out.println("this is the method66");
    }

    public static void main(String[] args) {
        Demo1 demo = new Demo1();
        demo.method();
        demo.method2();
        demo.method3();
        demo.method4();
        demo.method5();
        demo.method6();


    }
}
